package com.tourlaid.mamagerment.action.wx

import com.tourlaid.mamagerment.ao.wx.MyThoughtAo
import com.tourlaid.mamagerment.entity.ResponseData
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController
import javax.annotation.Resource

/**
 * Created by xiaoyongge on 2017/7/23.
 * 我的说说
 */
@RestController
@RequestMapping("/tld//adminmythought")
class MyThoughtAction {

    @Resource
    var myThoughtAo: MyThoughtAo? = null

    @RequestMapping("/delete.json")
    fun queryHotStore(thoughtId: Long): ResponseData<String> {
        myThoughtAo!!.delete(thoughtId)
        return ResponseData<String>()
    }

}